package com.hrp.analyzer.core.rule;


/**
 * 规则的一些默认值
 *
 * @author hrp
 * @date 2021/02/10 11:11
 */

public class RuleConstant {
    /**
     * 下一页规则
     */
    public static final String NEXT_PAGE_RULE = "//a[text()~='.*?下[一]{0,1}[页节].*']/@href";

    /**
     * 搜索页
     */
    public static final String SEARCH_PAGE = "search";
    /**
     * 详情页
     */
    public static final String DETAIL_PAGE = "detail";

    /**
     * 规则类型
     */
    public static final String TYPE_XPATH = "xpath";
    public static final String TYPE_JSON = "json";
    public static final String TYPE_CSS = "css";
    public static final String TYPE_REGEX = "regex";
    public static final String TYPE_AUTO = "auto";
}
